package com.example.demonstrate.wang.annotation;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author along
 * @Date 2024/6/28 14:33
 * @Description 抓拍推送开关
 */

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@ConditionalOnProperty(name = "scheduled.tasks.face-push-enabled", havingValue = "true")
public @interface EnableFacePushTask {
}
